﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006B9 RID: 1721
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetEnteredSceneScRsp : IMessage<GetEnteredSceneScRsp>, IMessage, IEquatable<GetEnteredSceneScRsp>, IDeepCloneable<GetEnteredSceneScRsp>, IBufferMessage
	{
		// Token: 0x17001627 RID: 5671
		// (get) Token: 0x06004D96 RID: 19862 RVA: 0x000D403F File Offset: 0x000D223F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetEnteredSceneScRsp> Parser
		{
			get
			{
				return GetEnteredSceneScRsp._parser;
			}
		}

		// Token: 0x17001628 RID: 5672
		// (get) Token: 0x06004D97 RID: 19863 RVA: 0x000D4046 File Offset: 0x000D2246
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetEnteredSceneScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001629 RID: 5673
		// (get) Token: 0x06004D98 RID: 19864 RVA: 0x000D4058 File Offset: 0x000D2258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetEnteredSceneScRsp.Descriptor;
			}
		}

		// Token: 0x06004D99 RID: 19865 RVA: 0x000D405F File Offset: 0x000D225F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetEnteredSceneScRsp()
		{
		}

		// Token: 0x06004D9A RID: 19866 RVA: 0x000D4072 File Offset: 0x000D2272
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetEnteredSceneScRsp(GetEnteredSceneScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.enteredSceneInfoList_ = other.enteredSceneInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004D9B RID: 19867 RVA: 0x000D40A8 File Offset: 0x000D22A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetEnteredSceneScRsp Clone()
		{
			return new GetEnteredSceneScRsp(this);
		}

		// Token: 0x1700162A RID: 5674
		// (get) Token: 0x06004D9C RID: 19868 RVA: 0x000D40B0 File Offset: 0x000D22B0
		// (set) Token: 0x06004D9D RID: 19869 RVA: 0x000D40B8 File Offset: 0x000D22B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700162B RID: 5675
		// (get) Token: 0x06004D9E RID: 19870 RVA: 0x000D40C1 File Offset: 0x000D22C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EnteredSceneInfo> EnteredSceneInfoList
		{
			get
			{
				return this.enteredSceneInfoList_;
			}
		}

		// Token: 0x06004D9F RID: 19871 RVA: 0x000D40C9 File Offset: 0x000D22C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetEnteredSceneScRsp);
		}

		// Token: 0x06004DA0 RID: 19872 RVA: 0x000D40D8 File Offset: 0x000D22D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetEnteredSceneScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.enteredSceneInfoList_.Equals(other.enteredSceneInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004DA1 RID: 19873 RVA: 0x000D4128 File Offset: 0x000D2328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.enteredSceneInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004DA2 RID: 19874 RVA: 0x000D4175 File Offset: 0x000D2375
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004DA3 RID: 19875 RVA: 0x000D417D File Offset: 0x000D237D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004DA4 RID: 19876 RVA: 0x000D4188 File Offset: 0x000D2388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.enteredSceneInfoList_.WriteTo(ref output, GetEnteredSceneScRsp._repeated_enteredSceneInfoList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004DA5 RID: 19877 RVA: 0x000D41D8 File Offset: 0x000D23D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.enteredSceneInfoList_.CalculateSize(GetEnteredSceneScRsp._repeated_enteredSceneInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004DA6 RID: 19878 RVA: 0x000D422C File Offset: 0x000D242C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetEnteredSceneScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.enteredSceneInfoList_.Add(other.enteredSceneInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004DA7 RID: 19879 RVA: 0x000D4279 File Offset: 0x000D2479
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004DA8 RID: 19880 RVA: 0x000D4284 File Offset: 0x000D2484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.enteredSceneInfoList_.AddEntriesFrom(ref input, GetEnteredSceneScRsp._repeated_enteredSceneInfoList_codec);
				}
			}
		}

		// Token: 0x04001E96 RID: 7830
		private static readonly MessageParser<GetEnteredSceneScRsp> _parser = new MessageParser<GetEnteredSceneScRsp>(() => new GetEnteredSceneScRsp());

		// Token: 0x04001E97 RID: 7831
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001E98 RID: 7832
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04001E99 RID: 7833
		private uint retcode_;

		// Token: 0x04001E9A RID: 7834
		public const int EnteredSceneInfoListFieldNumber = 1;

		// Token: 0x04001E9B RID: 7835
		private static readonly FieldCodec<EnteredSceneInfo> _repeated_enteredSceneInfoList_codec = FieldCodec.ForMessage<EnteredSceneInfo>(10U, EnteredSceneInfo.Parser);

		// Token: 0x04001E9C RID: 7836
		private readonly RepeatedField<EnteredSceneInfo> enteredSceneInfoList_ = new RepeatedField<EnteredSceneInfo>();
	}
}
